package com.lunago.agent.constant;

public enum ResultCode {

        SUCCESS(200, "Operation successful"),
        FAIL(400, "Operation failed"),
        UNAUTHORIZED(401, "Unauthorized access"),
        FORBIDDEN(403, "Access forbidden"),
        NOT_FOUND(404, "Resource not found"),
        INTERNAL_SERVER_ERROR(500, "Internal server error");

        private final int code;
        private final String message;

        ResultCode(int code, String message) {
            this.code = code;
            this.message = message;
        }

        public int getCode() {
            return code;
        }

        public String getMessage() {
            return message;
        }
    }


